App({
  onLaunch: function (){
    var uid = wx.getStorageSync('uid');
    if(!uid){
      wx.redirectTo({
        url: '/pages/login/login',
      })
    }
  },
  globalData: {
    url:'https://app.tysgschool.com/',
  }
})